//
//  XQPopupViewController.h
//  JoinPeso
//
//  Created by 小琦 on 2024/11/21.
//

#import <UIKit/UIKit.h>
#import "XQPopupAnimView.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, XQPopupShowType) {
    XQPopupShowTypePresent = 0,
    XQPopupShowTypeAdd,
};

@interface XQPopupViewController : UIViewController

@property (nonatomic, assign) XQPopupShowType showType;

@property (nonatomic, strong) XQPopupAnimView *animView;
@property (nonatomic, strong) UIView *customView;

- (void)showInViewController:(UIViewController *)vc completion:(void (^ __nullable)(void))completion;
- (void)hideAndCompletion:(void(^ __nullable)(void))completion;


@end

NS_ASSUME_NONNULL_END
